package com.shop.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.shop.entity.User;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author D
 * @since 2023-03-11 03:02:04
 */
public interface UserService extends IService<User> {

    int saveNewUser(User user);

    User login(String username, String password);

    User getUser(String username);
}
